package cn.yzj.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * jwt 属性配置项
 *
 * @author gzkemays
 * @since 2022/1/26 16:58
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class JwtArgsConfig {
  Object authorities;
  Map<String, Object> data;

  public JwtArgsConfig(Object authorities) {
    this.authorities = authorities;
  }

  public JwtArgsConfig(Map<String, Object> data) {
    this.data = data;
  }
}
